use log::debug;
use zscaner::{benchmark::{Benchmark, NamedTimer}, input::{Config, Opts}};

fn main() {
    env_logger::init();
    let mut benchmarks = Benchmark::init();
    let mut rustscan_bench = NamedTimer::start("RustScan");

    let mut opts:Opts = Opts::read();

    let config = Config::read(opts.config_path.clone());

    opts.merge(&config);

    debug!("Main() `opts` arguments are {:?}",opts);

    println!("{:#?}",opts);

    println!("======== end =========");
}
